Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Dec 20, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

vipero07 and others added 27 commits September 17, 2025 15:17
It is currently possible for a chunk to import chunks that import
itself. I'm not exactly sure where this occurs or why as I can't
reproduce it in a simple repository, but a simple fix is to prevent
importing already visited chunks.

Helps with #14444 though doesn't fix the underlying issue
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* WIP
We need to make the result nonnullable, because else the optional properties make the resulting type `X | undefined` which when turned into an intersection results in the never type.

* proper fix

* fix arrays

* regenerate
…prerender (#14464)

fixes #14347

This PR reverts the fix from #14219 which caused the init hook to run even if there's nothing to prerender. Instead of running the init hook early, we just set the env variables when looking for prerendered remote functions. This avoids any errors for missing env variables when evaluating the user's remote function modules. We only run the init hook once we've found things we need to prerender.
Fixes #14460

correcting object pointer handling in deep_set so nested form fields are properly stored in the same object hierarchy.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix: handle import/export name, { ... } when resolving aliases

* enforce valid identifiers

Co-authored-by: Simon H <[email protected]>

---------

Co-authored-by: Simon H <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
oops, accidentally committed to main

This reverts commit a1e0776.
* Fix __SVELTEKIT_PAYLOAD__ access

* Add changeset

* Update changeset with PR title
* fix: create separate cache entries for non-exported queries

* fix

* remove

* rename

* DRY out

* more

* tidy up

* unused

* update docs to use a non-exported query instead of caching on locals

* Update .changeset/soft-emus-fry.md

Co-authored-by: Tee Ming <[email protected]>

* Update packages/kit/src/runtime/app/server/remote/query.js

---------

Co-authored-by: Simon H <[email protected]>
Co-authored-by: Tee Ming <[email protected]>
Removes obsolete references to the create-svelte package which was removed in commit 6275ef3:
- Remove create-svelte from pnpm workspace configuration
- Remove create-svelte paths from renovate, eslint, and gitignore configs
- Remove create-svelte entry from main README package list
- Remove create-svelte reference from CONTRIBUTING.md code structure
- Remove misleading README from adapter-static SPA test app
- Update changeset config to exclude create-svelte from tracking

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <[email protected]>
* chore: use catalog version for svelte dev dependency

* WIP async SSR

* bump

* partial fix

* bump

* catalog version

* WIP

* tidy up

* WIP

* construct relative paths from event store

* wait really typescript?

* revert

* fix

* changeset

* fix

* use pkg.imports
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix: keep serialized remote data alive until navigation

* more

* Update packages/kit/src/runtime/client/remote-functions/form.svelte.js

Co-authored-by: Simon H <[email protected]>

* clear on refreshAll

* fix

---------

Co-authored-by: Simon H <[email protected]>
… src/runtime (#14510)

So that bugs that e.g. #14506 had to fix don't happen again
* fix: resolve more alias issues

- split up regexes to make them easier to reason about
- fix some more cases
- turn slow e2e test into unit test which can test more combinations easily

Fixes #14455

* also fixes #14480

* remove
We have to invoke .then eagerly here in order to kick off rendering: it's only starting on access, and `await maybe_promise` would eagerly access the .then property but call its function only after a tick, which is too late for the paths.reset() below and for any eager getRequestEvent() calls during rendering without AsyncLocalStorage available.

Fixes https://github.com/sveltejs/svelte/issues/16788
Rich-Harris and others added 30 commits January 5, 2026 16:21
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Add support for SearchParams.has(name, value) overload

* generate changeset

* Update .changeset/sharp-tires-work.md

---------

Co-authored-by: Elliott Johnson <[email protected]>
Co-authored-by: Elliott Johnson <[email protected]>
The `instrumentation.server.js` file is now imported when running
`vite preview`. Unfortunately, since it's not the first thing that's
imported (all of Vite's depedencies are imported first), some
instrumentation that rely on monkey-patching imports might not work
properly, but at least we're importing it before the server code.
However, this matches the existing behaviour of `vite dev`.

See: https://github.com/sveltejs/kit/blob/51214794b40b2fc533b06cb8344e84e661f90be0/packages/kit/src/exports/vite/dev/index.js#L507-L513
* feat: add `experimental.enhancedPreloading` flag

Adds a new experimental flag to gate the use of Svelte's `fork` API for
preloading. The flag defaults to `false`, disabling the fork-based
preloading behavior until explicitly enabled.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* changeste

* chore: rename `enhancedPreloading` to `forkPreloads`

Co-Authored-By: Claude Opus 4.5 <[email protected]>

---------

Co-authored-by: Claude Opus 4.5 <[email protected]>
…15133)

* avoid prettier ignoring files that contain build in their name

* fix global ignore ignoring directories with build name

* prettier

* Update .prettierignore

* Update .prettierignore
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
#14622)

* breaking: remove `buttonProps` from experimental remote form functions

use e.g. `<button {...myForm.fields.action.as('submit', 'register')}>Register</button>` button instead

* fix

* error in dev on buttonProps access

* fix

* fix tests

* tweak

* regenerate

---------

Co-authored-by: Rich Harris <[email protected]>
Co-authored-by: Rich Harris <[email protected]>
* Check for and apply timeouts for keepAlive and headers

* Update docs with new timeout env vars

* Add changeset for new timeouts

* Run the formatter

* Tweak the docs wording a bit

* Check for empty vars before parsing and validating

* Update documentation/docs/25-build-and-deploy/40-adapter-node.md

Co-authored-by: Tee Ming <[email protected]>

* Add a timeout_env helper with corresponding tests

* fix: convert adapter-node tests to TypeScript for project service compatibility

The tsconfig include pattern with brace expansion {js,ts} was not being
recognized by TypeScript's project service used by ESLint. Split into
separate patterns and converted test files to TypeScript.

* format

---------

Co-authored-by: Tee Ming <[email protected]>
Co-authored-by: Elliott Johnson <[email protected]>
* chore: Add AGENTS.md, symlink copilot instructions

* clean up
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* using same default base

* add changeset

* kit_base_path kit_paths_base ><

* Apply suggestion from @teemingc

---------

Co-authored-by: Tee Ming <[email protected]>
…#15118)

* Initial plan

* docs: fix invalid() documentation to reflect actual API

Co-authored-by: teemingc <[email protected]>

* docs: add changeset for invalid() documentation fix

Co-authored-by: teemingc <[email protected]>

* Delete .changeset/brown-impalas-judge.md

* Clarify usage of invalid function in validation

Updated the explanation of the `invalid` function to include its origin from `@sveltejs/kit` and clarified its usage.

* Update documentation/docs/20-core-concepts/60-remote-functions.md

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: teemingc <[email protected]>
Co-authored-by: Tee Ming <[email protected]>
Co-authored-by: Rich Harris <[email protected]>
…15161)

* fix(adapter-cloudflare): await initialization on every request to prevent race condition

* Create changeset

Changeset funny-pets-melt.md + version bump (patch)

* Apply suggestion from @teemingc

---------

Co-authored-by: Tee Ming <[email protected]>
* ensure decoded resolved path is compared with decoded url.pathname

* remote resources shouldn't be rerouted

* actually it doesn't matter because reroute doesn't run anyway

* add validations for node adapter host, protocol, and port

* edge case

* there

* changeset

* Update handler.js

Co-authored-by: Ben McCann <[email protected]>

* Update handler.js

Co-authored-by: Ben McCann <[email protected]>

* Update handler.js

* Update handler.js

Co-authored-by: Ben McCann <[email protected]>

* Update packages/adapter-node/src/handler.js

Co-authored-by: Ben McCann <[email protected]>

* wrap fetch call

* Apply suggestion from @teemingc

---------

Co-authored-by: Ben McCann <[email protected]>
* fix: Add length checks to remote forms

* don't pre-instantiate a huge buffer

* Update .changeset/thin-dodos-reply.md

Co-authored-by: Ben McCann <[email protected]>

* move errors to util function

* test: avoid preallocating remote form buffers

* test: make remote form allocation regression fail on old code

---------

Co-authored-by: Ottomated <[email protected]>
Co-authored-by: ottomated <[email protected]>
Co-authored-by: Ben McCann <[email protected]>
Co-authored-by: Junha Heo <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* generate types

* format
* chore: replace netlify-cli with netlify dev package

* update lockfile

* match modern netlify build output

* add doc

* remove srvx because it doesn't work with node 18

* format

* switch to node

* fix format and lint ignore

* no more srvx

* try installing deno for netlify edge in github action

* oops indentation

* pass port in through npm script

* remove port from npm script

* log when server started

* prettier

* generate types

---------

Co-authored-by: Tee Ming <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.